﻿namespace Plotly.NET.TraceObjects

open Plotly.NET
open Plotly.NET.LayoutObjects
open DynamicObj
open System
open System.Runtime.InteropServices

type StockData =
    {
        Open: float
        High: float
        Low: float
        Close: float
    }
    static member Create(o, h, l, c) =
        {
            High = h
            Low = l
            Close = c
            Open = o
        }

    static member create o h l c =
        {
            High = h
            Low = l
            Close = c
            Open = o
        }
